import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

const router = new Router({
    routes: [
        {
            path: '/',
            name: 'home',
            component: () => import(/* webpackChunkName: "home" */ '@/views/home'),
        },
        {
            path: '/template',
            name: 'template',
            component: () => import(/* webpackChunkName: "template" */ '@/views/template'),
        },
        {
            path: '/render',
            name: 'render',
            component: () => import(/* webpackChunkName: "render" */ '@/views/render'),
        },
        {
            path: '/demo',
            name: 'demo',
            component: () => import(/* webpackChunkName: "demo" */ '@/views/demo'),
        },
        {
            path: '/ElInput',
            name: 'ElInput',
            component: () => import(/* webpackChunkName: "ElInput" */ '@/views/ElInput'),
        },                  
    ],
})

export default router